﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
namespace gcmp
{
    /*!
    * @brief Mesh体系设置统一容差
    */
    class IMeshToleranceOperate
    {
    public:
        virtual ~IMeshToleranceOperate() = default;

        /*!
        * @brief    查询距离容差
        * @return   距离容差
        */
        virtual double GetDistTol() const = 0;
        /*!
        * @brief      设置距离容差
        * @param[in]      tol  距离容差
        */
        virtual void SetDistTol(double tol) const = 0;
        /*!
        * @brief    查询角度容差
        * @return   角度容差
        */
        virtual double GetAngleTol() const = 0;
        /*!
        * @brief      设置角度容差
        * @param[in]      tol  角度容差
        */
        virtual void SetAngleTol(double tol)const = 0;
    };
}
